package com.xxg.base.module;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: create by huikai
 * @Version: v1.0
 * @Description: com.f2bpm.controller.utils.jsonUtils
 * @Date:2019/11/27 15:13
 */

public class PageJson implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * mainTable : T_LEAVE_APPLY_MAIN
     * data : [{"name":"T_LEAVE_APPLY_MAIN.auditState","value":"未审核"},{"name":"T_LEAVE_APPLY_MAIN.leaveType","value":"b17a7e02-648e-41a7-b9b5-92087f875441"},{"name":"T_LEAVE_APPLY_MAIN.applyDate","value":"2019-11-27"},{"name":"T_LEAVE_APPLY_MAIN.applyName","value":"管理员"},{"name":"T_LEAVE_APPLY_MAIN.applyGender","value":"未知"},{"name":"T_LEAVE_APPLY_MAIN.applyAge","value":"27"},{"name":"T_LEAVE_APPLY_MAIN.orgName","value":"厦门市总工会"},{"name":"T_LEAVE_APPLY_MAIN.position","value":"主席"},{"name":"T_LEAVE_APPLY_MAIN.participationDate","value":"2009-02-01"},{"name":"T_LEAVE_APPLY_MAIN.friendlyReminder","value":""},{"name":"T_LEAVE_APPLY_MAIN.participationDate","value":"2009-02-01"},{"name":"T_LEAVE_APPLY_MAIN.beginTime","value":""},{"name":"T_LEAVE_APPLY_MAIN.participationDate","value":"2009-02-01"},{"name":"T_LEAVE_APPLY_MAIN.babiesNum","value":""},{"name":"T_LEAVE_APPLY_MAIN.beginTime","value":""},{"name":"T_LEAVE_APPLY_MAIN.endTime","value":""},{"name":"T_LEAVE_APPLY_MAIN.hours","value":""},{"name":"T_LEAVE_APPLY_MAIN.endTime","value":""},{"name":"T_LEAVE_APPLY_MAIN.hours","value":""},{"name":"T_LEAVE_APPLY_MAIN.days","value":""},{"name":"T_LEAVE_APPLY_MAIN.days","value":""},{"name":"T_LEAVE_APPLY_MAIN.bGang","value":""},{"name":"T_LEAVE_APPLY_MAIN.bGang","value":""},{"name":"T_LEAVE_APPLY_MAIN.bGang","value":""},{"name":"T_LEAVE_APPLY_MAIN.dystocia","value":""},{"name":"T_LEAVE_APPLY_MAIN.babiesNum","value":""},{"name":"T_LEAVE_APPLY_MAIN.reason","value":""},{"name":"T_LEAVE_APPLY_MAIN.MyId","value":""},{"name":"T_LEAVE_APPLY_MAIN.annex","value":""},{"name":"T_LEAVE_APPLY_MAIN.note","value":""}]
     * subTables : [{"subTable":"T_BREASTFEEDING_LEAVE","data":[],"deleteData":[]}]
     */

    private String mainTable;
    private List<DataBean> data;
    private List<SubTablesBean> subTables;

    public String getMainTable() {
        return mainTable;
    }

    public void setMainTable(String mainTable) {
        this.mainTable = mainTable;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public List<SubTablesBean> getSubTables() {
        return subTables;
    }

    public void setSubTables(List<SubTablesBean> subTables) {
        this.subTables = subTables;
    }

    public static class DataBean implements Serializable {
        /**
         * name : T_LEAVE_APPLY_MAIN.auditState
         * value : 未审核
         */
        private static final long serialVersionUID = 1L;
        private String name;
        private String value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public static class SubTablesBean implements Serializable {
        /**
         * subTable : T_BREASTFEEDING_LEAVE
         * data : []
         * deleteData : []
         */
        private static final long serialVersionUID = 1L;
        private String subTable;
        private List<?> data;
        private List<?> deleteData;

        public String getSubTable() {
            return subTable;
        }

        public void setSubTable(String subTable) {
            this.subTable = subTable;
        }

        public List<?> getData() {
            return data;
        }

        public void setData(List<?> data) {
            this.data = data;
        }

        public List<?> getDeleteData() {
            return deleteData;
        }

        public void setDeleteData(List<?> deleteData) {
            this.deleteData = deleteData;
        }
    }

}
